#include "stubs_asm.h"

// not found automatically

NHSTUB(EnterToCompensationEVF, 0xFFC27604)
NHSTUB(ExitFromCompensationEVF, 0xFFC27648)
NHSTUB(GetOpticalTemperature, 0xFFC455A8)
NHSTUB(Remove, 0xFFC2613C)
NHSTUB(TurnOffBackLight, 0xFFC77F4C)
NHSTUB(TurnOnBackLight, 0xFFC77F34)
NHSTUB(UIFS_WriteFirmInfoToFile, 0xFFD1F924)
NHSTUB(kbd_read_keys, 0xFFC23B2C)
NHSTUB(qsort, 0xFFE3C190)

// found automatically with errors
NHSTUB(GetZoomLensCurrentPosition, 0xFFDF520C)
NHSTUB(lseek, 0xffc26224)
NHSTUB(Lseek, 0xffc26224)
NHSTUB(strcat, 0xFFC7C528)
NHSTUB(kbd_read_keys_r2, 0xFFC23B58)
NHSTUB(strrchr, 0xFFC0400C)
NHSTUB(RenameFile_Fut, 0xFFC259EC)
//unk
NSTUB(SetFileTimeStamp, 0xFFCFBB98)
NSTUB(closedir, 0xFFDEBA50)
NSTUB(closefastdir, 0xFFDEBA50)

// found manually
NHSTUB(platformsub_kbd_fetch_data, 0xFFC435CC)
NHSTUB(DoAFLock, 0xFFC27554)
NHSTUB(UnlockAF, 0xFFC2758C)
NHSTUB(TurnOnMic, 0xFFC43C28) 
NHSTUB(TurnOffMic, 0xFFC43C54)
NHSTUB(apex2us, 0xFFD7D848)
NHSTUB(ExpCtrlTool_StartContiAE, 0xFFC34CE4)
NHSTUB(ExpCtrlTool_StopContiAE, 0xFFC34DBC)
NHSTUB(SetAE_ShutterSpeed, 0xFFE55BE4)
NHSTUB(GetDrive_FreeClusters, 0xFFC51410)
NHSTUB(SetScriptMode, 0xFFC6CC08)
NHSTUB(UnsetZoomForMovie, 0xFFD3589C)

// found manually and not confident
NHSTUB(GetBatteryTemperature, 0xFFC455A8)
NHSTUB(GetCCDTemperature, 0xFFC455A8)
NHSTUB(openfastdir, 0xFFDEBAA0)
NHSTUB(PT_PlaySound, 0xFFC5F3B0)
NHSTUB(ReadFastDir, 0xFFDEBBF4)
NHSTUB(readfastdir, 0xFFDEBBF4)
NHSTUB(LEDDrive, 0xFFC42BC4)
NHSTUB(RefreshPhysicalScreen, 0xFFD7B34C)

// video buffer stuff
NHSTUB(UnlockAndRefresh, 0xFFD7C53C)
NHSTUB(LockAndRefresh, 0xFFD7C4F8)

// cannot found at all
NHSTUB(rename, 0xFFD7AA24)

NHSTUB(WriteSDCard, 0xFFD7AA24)
NHSTUB(MakeAFScan, 0xFFD7AA24)
NHSTUB(PutInNdFilter, 0xFFD7AA24)
NHSTUB(PutOutNdFilter, 0xFFD7AA24)

//null subs
NHSTUB(kbd_pwr_on, 0xFFD7AA24)
NHSTUB(Mount_FileSystem, 0xFFD7AA24)
NHSTUB(Unmount_FileSystem, 0xFFD7AA24)
NHSTUB(rewinddir, 0xFFD7AA24)
NHSTUB(SetZoomActuatorSpeedPercent, 0xFFD7AA24)
